package createPattern.factory.model;

public enum Sugar {
    LESS("少糖", 30), HALF("半糖", 50), MORE("七分糖", 70), FULL("全糖", 100);
    private String name;
    private Integer num;

    Sugar(String name, Integer num) {
        this.name = name;
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public Integer getNum() {
        return num;
    }
}
